import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import 'vant/lib/index.css'
import { Button,Icon,Popover,ActionSheet,ConfigProvider,Form,Field,CellGroup,Calendar,Uploader,Dialog,Circle,Loading,Notify,Tag, Empty, ShareSheet, CountDown } from 'vant'
import { createPinia } from 'pinia'
import piniaPluginPersist from 'pinia-plugin-persist'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import 'lib-flexible/flexible.js'
import './assets/iconfont/iconfont.js'
const pinia = createPinia();
pinia.use(piniaPluginPersist);

createApp(App)
.use(router)
.use(Button)
.use(pinia)
.use(Icon)
.use(Popover)
.use(ActionSheet)
.use(ConfigProvider)
.use(Form)
.use(Field)
.use(CellGroup)
.use(Calendar)
.use(Uploader)
.use(Circle)
.use(Dialog)
.use(Loading)
.use(Notify)
.use(Tag)
.use(Empty)
.use(ShareSheet)
.use(CountDown)
.use(ElementPlus).mount('#app')
